package com.tianji.exam.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考试详情表
 * </p>
 *
 * @author author
 * @since 2023-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exam_details")
@ApiModel(value="ExamDetails对象", description="考试详情表")
public class ExamDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试记录id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "考试信息")
    private String examDetails;

    @ApiModelProperty(value = "题目id")
    private Long questionId;

    @ApiModelProperty(value = "题目类型题目类型，1：单选题，2：多选题，3：不定向选择题，4：判断题，5：主观题")
    private Integer questionType;

    @ApiModelProperty(value = "选择题正确答案1到10，如果有多个答案，中间使用逗号隔开，如果是判断题，1：代表正确，其他代表错误")
    private String answer;


}
